// cat 验证器
import Joi = require('joi');
export default Joi.object({
  name: Joi.string()
    .alphanum()
    .min(3)
    .max(10)
    .required(),

  age: Joi.number()
    .integer()
    .min(1900)
    .max(2020)
    .required(),

  breed: Joi.string().required()
});
